<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"                
                template="./emall.xhtml">

    <ui:define name="content">
        <f:view>
            <h:form>
                <h1><h:outputText value="S'enregistrer en tant que vendeur"/></h1>
                <h:panelGrid columns="2">
                    <h:outputLabel value="Nom:" for="nom" />
                    <h:inputText id="nom" value="#{mbUsers.user.nom}" title="Nom" />
                    <h:outputLabel value="Login:" for="login" />
                    <h:inputText id="login" value="#{mbUsers.user.login}" title="Login" />
                    <h:outputLabel value="Password:" for="pwd" />
                    <h:inputText id="pwd" value="#{mbUsers.user.pwd}" title="Pwd" />
                    <h:commandButton class="btn btn-large btn-primary" action="#{mbUsers.createVendeur()}" value="Register" />
                </h:panelGrid>
            </h:form>
        </f:view>
    </ui:define>

</ui:composition>
